{% extends 'frame.html' %}

{% block right-container %}
<div class="right-container">
    <table class="table table-hover">
    <tr>
        <th>项目ID</th>
        <th>项目名称</th>
        <th>项目路径</th>
        <th>项目主机</th>
        <th>添加时间</th>
        <th>操作</th>
    </tr>
    {% for m in list %}

        <tr>
            <td>{{ m.id }}</td>
            <td>{{ m.ProJectName }}</td>
            <td>{{ m.ProPath }}</td>
            <td>{{ m.IpAddress }}</td>
            <td>
                <script>
                    document.write(new Date({{ m.UpdateTime }} * 1000).toLocaleString());
                </script>
            </td>
            <td><a href="/option/?id={{ m.id }}">操作</a></td>
        </tr>
    {% endfor %}


    </table>
</div>
{% endblock %}